package com.example.timfinprototypeback.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.timfinprototypeback.entity.senti;
import com.example.timfinprototypeback.mapper.sentiMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.net.http.HttpRequest;

@Service
@Component
public class sentiServiceImpl extends ServiceImpl<sentiMapper, senti> implements sentiService {
    @Autowired
    private sentiMapper mysentiMapper;

    @Override
    public senti findSenti(String name) {
        return mysentiMapper.selectById(name);
    }
}